import request from '@/utils/request'


/*
*  客户拓展排行榜
*  */
export function customerDevelopCount(params) {
  return request({
    url: '/accessCode/customerDevelopCount',
    method: 'get',
    params
  })
}
/*
*  用户数量
*  */
export function visitorCount(params) {
  return request({
    url: '/accessVisitor/visitorCount',
    method: 'get',
    params
  })
}
/*
*  员工数量
*  */
export function employeeCount(params) {
  return request({
    url: '/system/user/userCount',
    method: 'get',
    params
  })
}
/*
*  设备访问次数
*  */
export function deviceCount(params) {
  return request({
    url: 'accessVisitor/deviceCount',
    method: 'get',
    params
  })
}
/*
*  设备访问时长
*  */
export function deviceAccessInterval(params) {
  return request({
    url: 'accessVisitor/deviceAccessInterval',
    method: 'get',
    params
  })
}
/*
*  访问趋势
*  */
export function deviceAccessTrend(params) {
  return request({
    url: 'accessVisitor/deviceAccessTrend',
    method: 'get',
    params
  })
}
/*
*  消息通知
*  */
export function messageNotification(params) {
  return request({
    url: '/accessVisitor/code/page',
    method: 'get',
    params
  })
}
/*
*  监控点数量
*  */
export function cameraCount(params) {
  return request({
    url: 'monitorCamera/cameraCount',
    method: 'get',
    params
  })
}
/*
*  留言数量
*  */
export function messageCount(params) {
  return request({
    url: 'userMessage/messageCount',
    method: 'get',
    params
  })
}

